What is meant by Abstract class?
1050
27-Aug-2019
Updated on 16-Sep-2020
Shrikant Mishra
27-Aug-2019We can create the Abstract class by using the “Abstract” keyword before the class name. An abstract class can have both “Abstract” methods and “Non-abstract” methods that are a concrete class.
Abstract method :
The method which has only the declaration and not the implementation is called the abstract method and it has the keyword called “abstract”. Declarations are the ends with a semicolon.
An abstract class may have a Non- abstract method also.
The concrete Subclass which extends the Abstract class should provide the implementation for abstract methods.